package com.hsp.homework.homework10;

public class HomeWork10 {
    public static void main(String[] args) {
        Doctor doctor = new Doctor("cc", "nurse", "male", 23, 7000);
        Doctor doctor1 = new Doctor("cc", "nurse", "male", 23, 7000);
        System.out.println(doctor.equals(doctor1));
    }
}

